package com.absurdzoo.YmY;

public class Pterosauria {
    private String id;
    private String name;
    private String color;
    private String bloodvolume;
    private String speed;

    public String getBloodvolume() {return bloodvolume;}

    public void setBloodvolume(String bloodvolume) {this.bloodvolume = bloodvolume;}

    public String getSpeed() {return speed;}

    public void setSpeed(String speed) {this.speed = speed;}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "Pterosauria{" +
                "动物id'" + id + '\'' +
                ",当前动物名称：Pterosauria'" + name + '\'' +
                ",动物颜色'" + color + '\'' +
                ",动物血量'" + bloodvolume + '\'' +
                ",动物速度'" + speed + '\'' +
                '}';
    }

    public void Spitfire(){
        System.out.println("我是能喷火的翼龙");
    }
}
